Skip to content

[stable5.7] fix: correct favorite/unfavorite bulk action logic#12908

Open
backportbot[bot] wants to merge 1 commit intostable5.7from
backport/12899/stable5.7
Open

[stable5.7] fix: correct favorite/unfavorite bulk action logic#12908
backportbot[bot] wants to merge 1 commit intostable5.7from
backport/12899/stable5.7

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot Bot commented May 8, 2026

Backport of PR #12899

The unfavorite button called favoriteAll() and vice versa, with favFlags
computed via negated 'isAtLeastOneSelected*' checks. When all selected
messages shared the same state, the flag was inverted, causing a no-op or
the wrong action. Replace with explicit favFlag: true/false and correctly
named methods.

Fixes #12149

Signed-off-by: RobinAngele <robin@robin4consulting.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants